package practice1.intro.annotation;

import java.io.UnsupportedEncodingException;
import java.net.URLDecoder;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.FileSystemXmlApplicationContext;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

import practice4.aop.annotation.PersonServer;
import practice4.aop.annotation.SpringAOPAnnotationTest;

@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations = { "/practice1/intro/annotation/applicationContext.xml" })
public class SpringIntroAnnotationTest {
	
	@Autowired
	AnnoHaha mb;
	
	@Test  
    public void inteceptorTest() throws UnsupportedEncodingException{ 
		mb.outputSomething();
    }  
}
